{% extends "base.html" %}

{% block title %}Remitos{% endblock %}
{% block head %}Agregar Remito{% endblock %}

{% block content %}
    <form method="POST" action=".">{% csrf_token %}
        <table class="formTable" align="center">
            <tr>
                <td class="formfieldleft">{{ form.fecha.label_tag }}</td>
                <td class="formfieldmiddle">{{ form.fecha }}<br />{{ form.fecha.help_text }}<br />{{ form.fecha.errors }}</td>
                <td class="formfieldright"></td>
            </tr>
            <tr>
                <td class="formfieldleft">{{ form.cliente.label_tag }}</td>
                <td class="formfieldmiddle">{{ form.cliente }}<br />&nbsp;&nbsp;&nbsp;<a href="/clientes/agregar/">agregar cliente</a><br />{{ form.cliente.errors }}</td>
                <td class="formfieldright"></td>
            </tr>
            <tr>
                <td class="formfieldleft">{{ form.numeroRemito.label_tag }}</td>
                <td class="formfieldmiddle">{{ form.numeroRemito }}<br />{{ form.numeroRemito.help_text }}<br />{{ form.numeroRemito.errors }}</td>
                <td class="formfieldright"></td>
            </tr>
        </table><br />
        <input type="submit" value="Agregar" />
    </form>
    <br /><br /><br /><br /><br /><br />
{% endblock %}
 
